Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove API that was deprecated during the 5.10 release #1029

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

d-ronnqvist
Copy link
Contributor

@d-ronnqvist d-ronnqvist commented Sep 17, 2024

Bug/issue #, if applicable:

Summary

Now that version 6.0 is released, API that's been deprecated during the 5.10 release can be removed according to the process described in the "Introducing source breaking changes" section of CONTRIBUTING.md.

Dependencies

None.

Testing

Nothing in particular. DocC itself wasn't using this API anymore.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • [ ] Added tests
  • Ran the ./bin/test script and it succeeded
  • [ ] Updated documentation if necessary

@d-ronnqvist d-ronnqvist added the code cleanup Code cleanup *without* user facing changes label Sep 17, 2024
@d-ronnqvist
Copy link
Contributor Author

This repo doesn't have a 6.0 release yet but Swift has.

Copy link
Contributor

@patshaughnessy patshaughnessy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - maybe just update the copyright message on some modified source files.

@@ -16,10 +16,6 @@ public protocol DiagnosticConsumer: AnyObject {
/// - Parameter problems: The encountered diagnostics.
func receive(_ problems: [Problem])

/// Inform the consumer that the engine has sent all diagnostics for this build.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also update the copyright message for this file to 2024.

@@ -105,11 +105,6 @@ public final class DiagnosticEngine {
}
}

@available(*, deprecated, renamed: "flush()", message: "Use 'flush()' instead. This deprecated API will be removed after 6.0 is released")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above: update the copyright message to 2024.

@@ -25,6 +25,3 @@ public struct DocumentationCatalogOption: DirectoryPathOption {
transform: URL.init(fileURLWithPath:))
public var url: URL?
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above: update the copyright message to 2024.

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist d-ronnqvist merged commit f66f704 into swiftlang:main Sep 25, 2024
2 checks passed
@d-ronnqvist d-ronnqvist deleted the remove-deprecated-6.0-api branch October 25, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code cleanup Code cleanup *without* user facing changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants